RectControl.DragEnter Event

Fired when the DragItem enters the RectControl. Returns a Boolean.

Syntax

result = DragEnter( obj, Action )


Parameters

obj

DragItem

Action

Integer

Return Value

Result

Boolean


Notes

Return True from this event to prevent the drop from occurring.

The Action parameter specifies the drag action. It can take the following class constants of the DragItem class:

0: DragItem.DragActionDefault

1: DragItem.DragActionCopy

2: DragItem.DragActionMove

3: DragItem.DragActionLink